package cn.edu.ctbu.myfirstweb.domain;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;

@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Embeddable
@EqualsAndHashCode
public class SCID implements Serializable {

    @Column(name = "sid")
    private Long sid;

    @Column(name = "cid1")
    private Long cid1;
}